﻿using HlELock.Core;
using System.Windows;
using System.Windows.Controls;

namespace HlELock.Modules.Hotel.Agency.Views
{
    /// <summary>
    /// Interaction logic for HotelMangeControl
    /// </summary>
    public partial class HotelMangeControl : Window
    {
        public HotelMangeControl()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void TextBlock_PreviewMouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            if (e.ButtonState == System.Windows.Input.MouseButtonState.Pressed)
            {
                // 开始拖动窗口
                this.DragMove();
            }

        }
    }
}
